﻿using Sub.TaskPlanningDesk.Model.Objects;

namespace Sub.TaskPlanningDesk.Model.Repositories
{
	public interface ITaskRepository
	{
		Task[] GetTasksByProjectID(int projectID);
		Task[] GetChildTasks(int taskID);
		void Create(Task task);
		void Update(Task task);
		void Delete(int taskID);
		Task ByID(int taskID);
	}
}
